<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			//报错1
			export 1;
			
			//报错2
			var m = 1;
			export m;
			
			//正确写法一
			export var m = 1;
			
			//正确写法二
			var m = 1;
			export {m};
			
			//正确写法三
			var n = 1;
			export {n as m};
			
		</script>
	</body>
</html>
